package com.dao;

import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.po.NewsDetailInfoPO;
@Repository
public class IndustryDetailDao {
@Autowired
private SqlSessionTemplate sqlTemplate;

	/**
	 * 根据查找详细的就业信息
	 * @param id
	 * @return
	 */
	public NewsDetailInfoPO findNewsDetailInfoById(int id) {
		
		return sqlTemplate.selectOne("industryDetail.findNewsDetailInfoById",id);
	}








}
